package com.sh.rbac.domain.vo.operationLog;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 操作日志视图
 *
 * @author wb
 * @since 2024-07-07
 */

@Schema(description = "操作日志视图")
@Data
public class OperationLogVO {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "操作用户")
    private String username;

    @Schema(description = "操作用户部门")
    private String deptName;

    @Schema(description = "操作模块")
    private String operationModule;

    @Schema(description = "操作类型")
    private String operationType;

    @Schema(description = "操作方法")
    private String operationMethod;

    @Schema(description = "操作参数")
    private String operationParams;

    @Schema(description = "操作url")
    private String operationUrl;

    @Schema(description = "请求方式")
    private String requestMethod;

    @Schema(description = "操作ip")
    private String operationIp;

    @Schema(description = "操作地址")
    private String operationAddr;

    @Schema(description = "操作时间")
    private LocalDateTime operationTime;

    @Schema(description = "操作状态")
    private String operationStatus;

    @Schema(description = "操作结果")
    private String operationResult;

    @Schema(description = "请求耗时")
    private String requestTime;

    @Schema(description = "错误信息")
    private String errorMsg;

}
